<?php
declare (strict_types = 1);

namespace app\api\model;

use app\common\model\Api;
use think\Model;

/**
 * @mixin think\Model
 */
class Business extends Api
{
    public function province()
    {
        return $this->belongsTo('province_city_area','province_id');
    }
    public function city()
    {
        return $this->belongsTo('province_city_area','city_id');
    }
    public function area()
    {
        return $this->belongsTo('province_city_area','area_id');
    }
    public function lb()
    {
        return $this->hasMany('lb');
    }
}